package com.example.demo.dao.impl;

import com.example.demo.dao.DeptDao;
import com.example.demo.pojo.Result;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PathVariable;

@Repository
public class DeptDaoImpl implements DeptDao {

    @Override
    public String addDeptDao(String s) {
        if (s.equals("请添加数据")){
            return "添加成功  ";
        }
        return "添加失败";
    }

}
